package starter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * Create by chenhd on 2021/9/4.
 */
@ConfigurationProperties(prefix = "school")
@Data
public class SchoolProperties {
    private String name;
    private List<Klass> myClass;
}
